package org.example.pingpong.domain.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "得分表单实体")
public class ScoreFormDTO {

    @ApiModelProperty(value = "id", required = true, example = "1")
    @JsonProperty("ID")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    @JsonProperty("USER_ID")
    private Integer userId;

    @ApiModelProperty(value = "赛事id")
    @JsonProperty("EVENT_ID")
    private Integer eventId;

    @ApiModelProperty(value = "得分")
    @JsonProperty("SCORE")
    private String score;

}
